package com.kele.search.feign;

import com.kele.common.model.response.Result;
import com.kele.model.goods.SearchGoods;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsFeignClientImpl implements GoodsFeignClient{
    @Override
    public List<SearchGoods> findUpdatedAfter(String lastSyncTime) {
        System.out.println("进入熔断器");
        return null;
    }

    @Override
    public Result test() {
        return new Result(false,"8888","进入熔断器,告诉用户：服务器正在加速运行，请稍等");
    }
}
